mob
	verb/test()
		world<<Core.DB.getServer()
		world<<Core.DB.getDB()
		world<<Core.DB.getPort()
		world<<Core.DB.createDBI()
		Core.DB.forceNewConnection()
		Core.Error.createErrorTable()
		Core.Mob.createMobTable()

		Core.Error.catchError("type=DB;source=libMob:libMob.addMob();error=Failed query;debug=Args=[src], SQL='select * from `[Core.Mob.tblMob]` where mobID = \ref[src]")

	verb/debug()

		dd_debugger.extraControlPanelObjects = list(Core)
		dd_debugger.ControlPanel()

	verb/query(sql as message)
		Core.DB.establishConnection()
		var/DBQuery/query = Core.DB.Query(sql)
		Core.Display.DisplayQuery(query, src)

	verb/cwho()
		var/DBQuery/query = Core.DB.Query("select * from `[Core.Connect.getConnectionTable()]` where disconnected is null")
		Core.Display.DisplayQuery(query,src)

	verb/who()
		var/DBQuery/query = Core.DB.Query("select * from `[Core.Mob.getMobTable()]`")
		Core.Display.DisplayQuery(query,src)

	verb/newMob()
		var/mob/M = new()
		M.name = "Test Mob"

	verb/delMob()
		var/DBQuery/q = Core.DB.Query("select mobID, name from `[Core.Mob.getMobTable()]`")
		if(!q.Execute())
			Core.Error.catchError("type=DB;source=testing:mob.verb.delMob();error=Failed Query;debug= SQL=[q.SQL()]")
			return
		var/list/mobs = list()
		while(q.NextRow())
			var/list/cols = q.GetRowData()
			var/mname = "[cols["name"]] [cols["mobID"]]"
			world<<"MNAME = [mname]"
			mobs.Add(mname)
			mobs[mname] = cols["mobID"]

		for(var/x in mobs)
			world<<"x = [x]"

		var/choice = input("Delete which mob?","DELETE MOB") as null|anything in mobs
		if(choice)
			var/mid = mobs[choice]
			Core.Mob.remMob(mid)